from django.db import models
from users.models import Staff
# Create your models here.


class Holidays(models.Model):
    staffId = models.ForeignKey(Staff, on_delete=models.CASCADE)
    beginTime = models.DateField()
    endTime = models.DateField()
    reason = models.CharField(max_length=50)
    category = models.CharField(max_length=10)
    status = models.IntegerField()
    dManagerIdea = models.CharField(max_length=30, null=True)
    vManagerIdea = models.CharField(max_length=30, null=True)
    managerIdea = models.CharField(max_length=30, null=True)
    username = models.CharField(max_length=30, null=True)
